/**
 *
 * @description:
 * @author:junyong.hong
 * @createTime:2017/12/7
 * @version:1.0.0.0
 * @history:
 *    1、
 *    2、
 *
 */
define([
    'app',
    'js/directive/parentDirective/parentDirective.js',/* &调用父作用域 */
    'js/directive/controllerDirective/controllerDirective.js',/* 指令controller、link */
    'js/directive/tabDirective/tabDirective.js',/* tab面板 */
],function(app){
    'use strict';
    app.controller('parentTest.controller',['$scope', '$state',function ($scope, $state) {
        var vm = this;
        vm.callback = function () {
            console.log('&调用父作用域触发方法')
            return 'hjy';
        };



        vm.data = [
            {id:1,title:'培训',data:[
                {id:1,title:'PHP'},
                {id:2,title:'html5'}
            ]},
            {id:2,title:'开源产品',data:[
                {id:1,title:'angularjs'},
                {id:2,title:'css'}
            ]},
            {id:3,title:'xx',data:[
                {id:1,title:'sdf'},
                {id:2,title:'ddd'}
            ]}
        ]
    }]);

});